package com.zhao.dota.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhao.dota.model.DotaMatch;
import com.zhao.dota.model.Player;

import java.util.List;
import java.util.Map;

public interface PlayerService extends IService<Player> {

    Map<Long, Player> getOrCreatePlayers(DotaMatch match, List<Long> steamIds);

    Page<Player> search(String search, Page<Player> page);

}
